home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / generate-makefile / Makefile < prev    next >
Encoding:
Makefile  |  1994-12-10  |  446 b   |  18 lines

  1. # Makefile for compiling simple MiscKit examples
  2. # Written and Copyright (C) 1994, by Don Yacktman, all rights reserved.
  3.  
  4. NAME = generate-makefile
  5. TARGET_ARCHS = m68k i386
  6. ARCHIFY = /usr/lib/arch_tool -archify_list
  7. ARCH_FLAGS = `$(ARCHIFY) $(TARGET_ARCHS)`
  8.  
  9. all: $(NAME)
  10.  
  11. $(NAME):
  12.     cc -ObjC -O2 -pipe -L../../Source -I../../Headers -Wall $(ARCH_FLAGS) \
  13.             -o $(NAME) $(NAME).m -all_load -lMiscKit -lNeXT_s
  14.     strip $(NAME)
  15.  
  16. clean:
  17.     rm -rf $(NAME)
  18.